#include <iostream>
#include <cstdlib>
#include <ctime>
#include <vector>

using namespace std;

void displayVector(vector<int> v)
{
    for (int i = 0; i < v.size(); ++i)
    {
        cout << v[i] << " ";
    }
}

int main()
{
    std::vector<int> v;
    srand(time(NULL));
    int number;

    for (int i = 1; i <= 20; ++i)
    {
        number = rand() % 100 + 1;
        v.push_back(number);
    }

    cout << endl;
    displayVector(v);
    cout << endl;

    return 0;
}

